package com.example.demoapi.api.service;



import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demoapi.api.pojo.Result;
import com.example.demoapi.api.pojo.Wallet;

import java.math.BigDecimal;

/**
 * @author Hu
 * @date 2023/2/6
 * @apiNote
 */
public interface WalletService extends IService<Wallet> {
    BigDecimal queryUserBalance(int id);
    Result userConsumptionOneHundredYuan(int id, int orderId);
    Result userRefundsTwentyYuan(int id,  int orderId);
}
